package com.example.ojcodesandbox.codesandbox;


import com.example.ojcommon.common.ExecuteCodeRequest;
import com.example.ojcommon.common.ExecuteCodeResponse;

/**
 * 代码沙箱接口
 */
public interface CodeSandbox {
  public static final long TIME_OUT = 3000L;

  /**
   * 执行代码方法
   * @param executeCodeRequest
   * @return
   */
  ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
